package cn.tydy.service.bill;


import cn.tydy.dao.bill.BillMapper;
import cn.tydy.pojo.Bill;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.sql.Connection;
import java.util.List;

@Service("billService")
public class BillServiceImpl implements BillService {
	@Resource(name = "billMapper")
	private BillMapper billMapper;



	@Override
	public List<Bill> listBillAll() {
		return billMapper.listBillAll();
	}

	@Override
	public List<Bill> getBillList(Connection connection, Bill bill)  {
		return billMapper.getBillList(connection,bill);
	}
}
